package com.beehoo.dcportal.admin.service;

import java.util.List;

import com.beehoo.dcportal.common.base.BaseException;
import com.beehoo.dcportal.model.CommentBean;

public interface CommentService {

	/**
	 * 查询评论列表
	 * 
	 * @param streetId
	 * @param commentState
	 * @param beginDate
	 * @param endDate
	 * @return
	 * @throws BaseException
	 */
	public List<CommentBean> queryComments(String streetId,
			String commentState, String beginDate, String endDate, int pageNo,
			int pageRows) throws BaseException;

	/**
	 * 查询评论列表
	 * 
	 * @param streetId
	 * @param commentState
	 * @param beginDate
	 * @param endDate
	 * @return
	 * @throws BaseException
	 */
	public int queryCommentCount(String streetId, String commentState,
			String beginDate, String endDate) throws BaseException;

	/**
	 * 查询一条评论
	 * 
	 * @param streetId
	 * @param commentId
	 * @return
	 * @throws BaseException
	 */
	public CommentBean queryComment(String streetId, String commentId)
			throws BaseException;

	/**
	 * 审核评论
	 * 
	 * @param commentBean
	 * @return
	 * @throws BaseException
	 */
	public void auditComment(CommentBean commentBean) throws BaseException;

	/**
	 * 删除评论
	 * 
	 * @param commentId
	 * @return
	 * @throws BaseException
	 */
	public void delComment(String commentId) throws BaseException;
}
